<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="../inc/mini.css" type="text/css">
<title>测试</title>
<style>
    select.fileSelectorInput{width:200px;margin-top:10px;}
</style>
</head>
<body>
    <?php
        $sgfDir="../sgf/problem/";
        $defaultSgfTarget=isset($sgfTarget)?$sgfTarget:("p1.sgf");
        $sgfTarget=isset($_POST["sgfServerFile"])?$_POST["sgfServerFile"]:(isset($_GET["sgfServerFile"])?$_GET["sgfServerFile"]:$defaultSgfTarget);
        $sgfTarget=basename(current(explode("?",$sgfTarget)),"sgf")."sgf";
        $SelectSgfFileLabel="题目选择：";
    ?>
    <script src="../../_i18n/mgos-i18n-zh.js"></script>
    <script src="../../_mgos/sgfplayer.php?cfg=../z/problem/problem.cfg&amp;mxL=zh">
    <?php print $sgfDir.$sgfTarget."\n";?>
    </script>
    <div class="zselect"><?php include "../inc/select.php";?></div>
</body>
</html>
